package com.company.vmpx.api;

import java.util.List;

/**
 * 作者：kkan on 2017/01/30
 * 当前类注释:
 * 封装服务器返回数据
 * 类中的参数是可以修改的
 */
public class ResultEntity<T> extends HttpResult {
    private List<T> rows;
    private T data;
    private int totalCount;

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }
}
